package com.wanxi.interf;

public class ElectricVehicle extends Vehicle implements Power{


    public ElectricVehicle(String brand, String color) {
        super(brand, color);
    }

    public ElectricVehicle() {
    }

    @Override
    public void run() {
        System.out.println("用电跑");

    }


    @Override
    public void power() {
        System.out.println("充电桩充电");
    }
}
